<head>
<title>AgBay - Create Item</title>
</head>

<body>

{% block content_title %}
  <h2>Create an item</h2>
{% endblock %}

{% if form_error %}

	<font color="red">{{ form_error }}</font><br />

{% else %}

{% block content %}
<form name = "itemForm" action= "submit" method="post"> {% csrf_token %}
    <div class="fieldWrapper">
        <label for="min_bid">Minimum Bid:</label><input type='float' name = "midBidParam">
        <font color="red">{{ midbid_error }}</font><br />
    </div>
	
    <div class="fieldWrapper">
        <label for="max_bid">Maximum Bid:</label><input type='float' name = "maxBidParam">
        <font color="red">{{ maxbid_error }}</font><br />
    </div>
	
	<font color="red">{{ item_error }}</font><br />
	
    <p> <input type="submit" value="Create Item"/></p>

	
</form>
{% endblock %}

{% endif %}

</body>

